<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container{
            width: 600px;
            margin: 200px auto;
            display: flex;
            justify-content: space-around;
        }
        .container .item-border{
            border: 1px solid;
            width: 100px;
            height: 100px;
        }
        .container .item-border div{
            box-sizing: content-box;
            width: 100px;
            height: 100px;
            line-height: 100px;
            white-space: normal;
        }
        .container .item-border .item1{
            background-color: rgba(255, 192, 203, 0.7);
            transform: perspective(200px)rotateX(45deg);
            
        }
        .container .item-border .item2{
            background-color: rgba(204, 255, 170, 0.7);
            transform: perspective(200px)rotateY(45deg);
        }
        .container .item-border .item3{
            background-color: rgba(204, 170, 255, 0.7);
transform: perspective(200px)rotateZ(45deg);
        }
        .container .item-border .item4{
            background-color: rgba(255, 204, 170, 0.7);
            transform: rotate(45deg);
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="item-border">
            <div class="item1">rotateX(45deg)</div>
        </div>
        <div class="item-border">
            <div class="item2">
                rotateY(45deg)
            </div>
        </div>
        <div class="item-border">
            <div class="item3">
                rotateZ(45deg)
            </div>
        </div>
        <div class="item-border">
            <div class="item4">rotate(45deg)</div>
        </div>
    </div>
    <div style="width: 100px; height: 16px;background-color: #fac;">
        <span>hello nice to meet you</span>
    </div>
</body>
</html>